Part Number Hot Search : 
BRUS5100 HI5660 STK0460 8344A 83765 F1608 8344A P1A10
Product Description
Full Text Search
 

To Download EAOPT-OPTO8I8O Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  ea kit240-7 zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de june 2004 technical data * lcd graphic display with many graphics functions and fonts * 240x128 pixels with cfl illumination, blue negative (recommended) * 240x128 pixels with led illumina tion yellow/green * 240x128 pixels with white led illumination, blue negative mode * integra ted touch p anel with 10x6 fields (anti-glare, scratch-resistant) * font zoom of approx. 2mm via approx. 5mm up to approx. 50mm * supply voltage 5v/700ma (cfl)/1200ma (led) or optionally 9..35v * rs-232 or alternatively rs-422 with baud rates 1200..115200 * positioning accurate to the pixel with all functions * programming by means of high-level language-type commands: * straight line, point, area, and/or/exor, bar graph... * up to 256 macros programmable * 4 clipboard functions, pull-down menus accessories * integrated aluminum bezel: black ( ea 0fp240-7sw) or blue (-7bl) * floppy disk for macro programming (pc dos): ea disk240 * cable (1.5m) for connection to 9-pin sub-d (rs-232 female): ea kv24-9b order designation 240x128 dots with touch panel, cfl illum., blue negative ea kit240-7ctp 240x128 dots with touch panel, led illumina tion, y/g ea kit240-7ledtp 240x128 dots with touch panel, led illumina tion, white ea kit240-7lwtp 240x128 dots with cfl illumination, blue negative ea kit240-7c 240x128 dots with led illumina tion, y/g ea kit240-7led 240x128 dots with led illumina tion, white ea kit240-7lw supply voltage 9..35v instead of 5v ea opt-9/35v rs-422 interface instead of rs-232 ea opt-rs4224 8 digital inputs and 8 outputs with optocoupler ea opt-opto8i8o control panel with fonts, graphics commands and macros integrated touch panel ea kit240-7ctp dimensions 144x104mm with integrated bezel
2 ea kit240-7 general the ea kit240 graphics kit is a fully assembled control and operating unit with a variety of integrated functions. the display has very compact dimensions and offers excellent super-twist contrast, which means the unit can be put into operation immediately. it is controlled via the standard rs-232 or rs-422 interface. in addition to complete graphics routines for display output, the graphics kit also contains a wide variety of fonts. graphics command similar to those used in high-level programming languages are used for programming. there is thus no longer any need for the time-consuming programming of character sets and graphics routines. the ease of use offered by macros and input via touch panel make it a real power display. display versions cfl-backlight ea kit240-7ctp: blue background with white characters. extreme bright and with high contrast. life time (mtbf) for backlight 10,000~20,000h. backlight unit is as a spare part available (ordering code ea cfl240-7). current consumption typ. 450 ma. led-backlight ea kit240-7lwtp: blue background with white characters. bright and with high contrast. life time for half of brightness: 20,000~30,000h. current consumption typ. 250 ma. led-backlight ea kit240-7ledtp: yellow/green background with black characters. good contrast, life time (mtbf) 100,000h. current consumption typ. 1200 ma. hardware the graphics kit is designed for an operating voltage of +5v. a supply voltage of 9..35v is also possible. serial asynchronous data transfer is carried out in rs-232 or rs-422 format. the transmission format is set permanently to 8 data bits, 1 stop bits, and no parity. a transimssion rate of between 1200 and 115,200 baud can be selected by means of dip switches. rts and cts handshake lines are available. data format: touch panel the ea kit240-7ctp and -7ledtp versions are equipped with an integrated touch panel. you can make entries and choose menu settings by touching the display. the labeling of the "keys" is flexible and can also be changed during runtime (different languages, icons). the drawing of the individual "keys" and the labeling or grouping of several fields is handled by the integrated software. software the graphic kits are programmed by means of commands such as draw a rectangle from (0,0) to (64,15) . no additional software or drivers are required. strings can be placed with pixel accuracy . text and graphics can be combined at any time. up to 16 different character sets can be used. thus, when the 8-times zoom is used with character set 16x8, the words and numbers fill the screen. accessories front panel for mounting a front panel made of anodized aluminum is available as an accessory. this allows the graphics kit to be mounted without any screws visible. installing it is child's play. the ea 0fp240-7 front panel is available in black (sw) and blue (bl). floppy disk for creating macros a floppy disk (ea disk240) is required for macro programming *) . this converts the commands entered in a text file into a code that can be read by the graphics kit, and programs them into the eeprom. cable for pc to enable simple connection to pcs (macro programming), we provide a 1.5m cable and a 9-pin sub-d female connector (ea kv24-9b). simply insert it into com 1 or com 2 and get started. note: the cable is not suitable for the rs-422 version (ea opt-rs4224). *) also on the internet: http://www.lcd-module.de/deu/disk/disk240.zip
3 ea kit240-7 external keyboard a keyboard (anything from individual keys to a 10x6 matrix keyboard) can be connected at the plug-in connection. the connected keys are debounced by means of software. please note that it is only possible to connect an external keyboard to versions without an integrated touch panel. each key is switched between an output and an input. each input has a 100k ? pullup. up to 6 keys can be connected at each output. transmitting the keystrokes at each keystroke, the associated key number (1..60) is transmitted. the release of the key is not transmitted. if the release of the key is to be transmitted as well, this can be done by defining touch macro no. 0. the automatic keyboard scan can be deactivated by means of the command "esc t a 0". the key number can be determined as follows: key number = (output - 1) * 10 +input (output: a number between 1 and 10; input: a number between 1 and 6). note: if the handshake line (e.g. cts) does not permit transmission, keystrokes can be lost. touch p anel (ea kit240-7ctp and -7ledtp only) versions ea kit240-7ctp and -7ledtp are supplied with an integrated touch panel with 60 fields. the graphics kit offers convenient commands supporting this touch panel. it is possible, for example, to group a number of touch fields to form a single large key and then draw and label the key. you can also assign a record code (1..255) to the key you have defined. if a return code of 0 is assigned, the key is disabled and has no effect when it is pressed. when the touch keys are touched, they can be automatically inverted and a tone can sound, indicating they have been touched. at the same time, the defined return code of the key is transmitted via the serial interface, or an internal touch macro with the number of the return code is started. example: definition of a key from field 13 to 25 with the return code 65=a and the text "stop". note: before individual keys are defined, all fields should be disabled by means of "esc t r". j4 matrix keyboard connection pin symbol function 1 in 1 input line 1 2 in 2 input line 2 3 in 3 input line 3 4 in 4 input line 4 5 in 5 input line 5 6 in 6 input line 6 7 out 10 output column 10 8 out 9 output column 9 9 out 8 output column 8 10 out 7 output column 7 11 out 6 output column 6 12 out 5 output column 5 13 out 4 output column 4 14 out 3 output column 3 15 out 2 output column 2 16 out 1 output column 1 application example example codes to be output note for compiler #th 13, 25, a, 2, "stop" the end code 0 is not specified here as asc ii esc t h .. a . s t op . the dots . stand for ascii characters that are not to be displayed in hex $1b $54 $48 $0d $19 $41 $02 $53 $54 $4f $50 $00 in decimal 27 84 72 13 25 65 2 83 84 79 80 0 command id initiation of touch command horizontal labeling upper left touch field lower right touch field return code drawing of key with frame end of text id
4 ea kit240-7 rs-232/rs-422 connection the graphics kit is shipped with an rs-232 interface as standard. the pin assignment of the plug connector (j3) is as shown in the table on the left. the j3 has a 2.54mm grid. if the graphics kit is ordered together with the ea opt-rs4224 optional component, rs-422 drivers are fitted. in this case, the pin assignment is as shown in the table on the right. the same serial data with 5v levels and ttl logic is available at the j5 eyelet strip. these levels are suitable for direct connection to a c. however, if these signals are used, modules 202 and 75176 must be removed. baud rates the baud rate can be set by means of the 3 dip switches on the left. 9,600 baud is set at the factory (dip 3 on). please note that the internal data buffer only holds 22 bytes. it is therefore imperative that the rts handshake line be queried (a level of +10v means data can be accepted; a level of -10v means the display is busy). the data format is fixed at 8 data bits, 1 stop bit and no parity. write protection for programmed macros you can use dip switch 6 to prevent the programmed macros, images and fonts from being inadvertently overwritten. achtung ! handhabungs- vorschriften beachten elektrostatisch gef?hrdete bauelemente supply voltage / ea opt-9/35v in the standard model, the supply voltage of +5v is fed in via screw-type terminal j1. in the case of the version for 9..35v (ea opt-9/35v), the power is supplied via j2. important: it is imperative that the polarity is correct. polarity reversal, even for a very short time, can cause the immediate destruction of the entire display. baud rates dip switches data format 8,n,1 1 2 3 on on on 1200 on on 2400 off on on 4800 off on 9600 off off on on 19200 off on 38400 off off on 57600 off off 115200 off off off write protection dip write protection for eeprom 6 on on no macro progr. possible off off macro progr. possible rs-232 j3 connection pin symb in/out function 1 vdd - + 5v supply 2 dcd - straptodtr 3 dsr - straptodtr 4 txd out transmit data 5 cts in clear to send 6 rxd in receive data 7 rts out request to send 8 dtr - see pin 2, pin 3 9 - - nc 10 gnd - 0v ground rs-422 j3 connection pin symbol function 1 vdd + 5v supply 2 data in- receive data 3 data in+ receive data 4 data out- transmit data 5 data out+ transmit data 6 hs in- handshake 7 hs in+ handshake 8 hs out- handshake 9 hs out+ handshake 10 gnd 0v ground j5 add-on pin symbol in/out function 1 vu - 9..35v supply 2 vdd - +5vsupply 3 gnd - 0v, ground 4 txd5 out transmit data 5 rxd in receive data 6 rts out request to send 7 cts in clear to send 8 reset in h: reset 9 scl out i2c bus, clock 10 sda in/out i2c bus, data
5 ea kit240-7 ea opt-opto8i8o inputs and outputs all ea kit240 graphics kits are available optionally with 8 digital inputs and 8 outputs (ea opt- opto8i8o). all the inputs and outputs are isolated from the rest of the electronic components as well as each other. the connection is made via 16 different screw-type terminals. at the same time the same outputs (non-floating) can be connected at the 20-pin plug-in connector (j120) via 5v cmos level. note: the logic circuitry is designed for slow operations; in other words, more than 3 changes per second cannot be easily executed. note: the optocouplers invert the input logic (all inputs open: port macro 255). it is advisable here (in the power-on macro, for example) to use the "esc y i 1" command to evaluate the inputs inversely (all inputs open: port macro 0). 8 outputs each line can be controlled individually using the "esc y w" command. a maximum current of 10ma can be switched per line. 8 inputs a voltage of >4v starts an internal port macro. however, the inputs can also be queried and evaluated directly via the serial interface ("esc y r"). when the 8 lines are combined, up to 256 port macros can thus be addressed. each of these port macros can change the contents of the screen or switch an output, thus enabling a wide range of control functions. to create the port macros you need a pc and the ea disk240 floppy disk. you will find a more detailed description on page 6. the automatic port query can be disabled by means of the "esc y a 0" command. application examples direct voltages of 5..35v can be applied at all 8 inputs. voltages of over 4v are recognized as high level, while voltages of under 2v are low level. voltages of between 2 and 4v are undefined. the polarity is insignificant. the collector and emitter of a transistor is brought out at the screw-type terminals as the output. each output can switch a maximum of 10ma. ensure the polarity is correct, and note the transistor's load-dependent voltage drop of 0.6..5v. note: the negative pole of each screw-type terminal can be interconnected by closing the solder straps lbi1..8 and lbo1..8. these solder straps can also be connected to system ground gnd (solder 0 ? strap r gnd ). default settings after power-on or a manual reset, the registers shown here are set to a specific value. please note that all the settings can be overwritten by creating a power-on macro (normal macro no. 0). j120 inputs and outputs pin symbol function pin symbol function 1 vdd +5v supply 2 gnd 0v, ground 3 out 1 output 1 4 in 1 input 1 5 out 2 output 2 6 in 2 input 2 7 out 3 output 3 8 in 3 input 3 9 out 4 output 4 10 in 4 input 4 11 out 5 output 5 12 in 5 input 5 13 out 6 output 6 14 in 6 input 6 15 out 7 output 7 16 in 7 input 7 17 out 8 output 8 18 in 8 input 8 19 gnd 0v, ground 20 vdd +5v supply default settings register command after power-on/reset text mode esc l set, black terminal font esc ft font 3, no zoom cursor esc qc on flashing time esc qz 0.6 secs user-defined characters esc e undefined graphics mode esc v set graphics font esc f font 3, no zoom last xy esc w (0;0) bar graph 1..16 esc b undefined clipboard esc c empty select/deselect esc k selected outputs out1..8 esc y high level/open
6 ea kit240-7 macro programming single or multiple command sequences can be grouped together in macros and stored in the eeprom. you can then start them by using the run macro commands. there are 3 different types of macros: touch macros (1..255) these are started when you touch a touch field (in versions with a touch panel - tp) or when you operate an external key/matrix keyboard. touch macro no. 0 is different: it is started when you release a key. port macros (0..255) these are started when voltage is applied to in 1..8 (only in versions with ea opt-opto8i8o inputs and outputs). normal macros (1..255) these are started by means of a command via the serial interface or from another macro. a series of macros occurring one after the other can be called cyclically (movie, hourglass, multi-page help text). power-on macro normal macro no. 0 is different: it is executed automatically after power-on. it allows you to switch off the cursor and define an opening screen, for example. storing 256 images in the eeprom to reduce the transmission times of the serial interface or to save storage space in the processor system, up to 256 images can be stored in the internal eeprom. they can be called using the "esc u e" command via the serial interface or from within a touch/port/normal macro. all the images can be used in the windows bmp format. they can be created and edit using widely available software such as windows paint or photoshop. creating individual macros to create your own macros, you need the following: - the ea disk240 *) floppy disk, which contains a compiler, examples and fonts - a pc with a com1 or com2 serial interface and approximately 500kb hard disk space - a text editor such as wordpad or norton editor to define a sequence of commands as a macro, all the commands are written to a file on the pc (e.g. demo.kmc). you specify which character sets are to be integrated and which command sequences are to be in which macros. once the macros are defined, you start the program c:>kitcomp demo.kmc. this creates an eeprom file called demo.eep, which is then automatically stored in the display eeprom with the baud rate entered. this only takes a few seconds, and you can then use your user-defined macros immediately. you will find a detailed description of how to program macros, together with a large number of examples, in the files doku.doc (for word) and doku.txt (dos) on the ea disk240 *) floppy disk. *) also on the internet: http://www.lcd-module.de/deu/disk/disk240.zip ;macro demo com2: 115200 ; kit is connected to com2 ; transmission at 115,200 baud ;---------------------------------------------------------- ;define constants aus = 0 ein = 1 font4x6 = 1 font5x6 = 2 font6x8 = 3 font8x8 = 4 font8x16= 5 ;---------------------------------------------------------- ;include fonts font: font4x6, 32, 95 intern4x6 font: font5x6, 32,158 intern5x6 font: font6x8, 32,158 intern6x8 font: font8x8, 32,158 intern8x8 font: font8x16, 32,158 intern8x16 ;---------------------------------------------------------- macro: 0; power-on/reset macro #qc ein ; cursor visible #ft font8x16 ; set terminal font #ul 0,20, ; electronic assembly logo
7 ea kit240-7 font 1: 4x6 integrated fonts 5 character sets are integrated in each graphics unit as standard. each character set can be used at its normal height or at up to 8 times this height. independently of the height, the width can also be increased two to eight times. in addition, you can define up to 21 characters of your own, depending on the font. these characters are preserved until the supply voltage is switched off. (see the esc e command.) each character can be positioned with pixel accuracy . text and graphics can be combined as required. several different font sizes can also be displayed together. each text can be output left justified, right justified or centered. 90 rotation (for vertical installation of the display) is also possible. macro programming permits the inclusion of up to 11 additional fonts and the complete redesign of the individual characters. a font editor on the ea diskfont6963 floppy disk allows you to create and program in any font you like with a size of up to 16x16 pixels. tip: font effects with large fonts, you can use the command esc l text mode (link, pattern) to produce interesting effects through overlaying (writing and offsetting a word several times). original font 8x16 with zoom 3 at position 0,0 with black pattern "outline font" produced by overlaying (exor) at pos. 1,1 overlaying (exor) of the "outline font" at pos. 2,2 . results in an "outline font with fill" overlaying ( or ) with 50% gray pattern of the "outline font" at pos. 0,0 . results in a "font with pattern fill" font 5: 8x16 no char. height lines x chars. size in pixels as c i i area free def. as c i i codes note 1 2.2 mm 21 x 60 4x6 32 - 95 1..21 mic ro 2 2.2 mm 21 x 48 5x6 32 - 158 1..21 mini 3 3.1 mm 16 x 40 6x8 32 - 158 1..16 standard 4 3.1 mm 16 x 30 8x8 32 - 158 1..16 bold 5 6.3 mm 8x30 8x16 32 - 158 1..8 big font 3: 6x8
8 ea kit240-7 command table for the ea kit240 command codes note commands for terminal operation form feed ff (dec:12) ^l deletes the screen and sets the cursor at position (1,1) carriage return cr(13) ^m positions the cursor on the left at the beginning of the line line feed lf (dec:10) ^j positions the cursor in the line below the current one. if the cursor is in the last line, positions it in the 1st line cursor on/off esc q c n1 n1=0: cursor is not visible; n1=1: cursor flashes (inverse 6/10s) position cursor esc o n1 n2 n1=column; n2=line; upper left origin is (1,1) set terminal font esc f t n1 n1=1: sets font no. n1 (1..16) for terminal operation text output commands text mode esc l n1 pat mode n1: 1=set; 2=delete; 3=inverse 4=replace; 5=inverse replace; pat: pattern no. 0..7 set font esc f n1 n2 n3 sets font with the number n1 (1..16); n2=x- n3=y-zoom factor (1x..8x) output string horizontally esc z l x1 y1 text ... nul outputs a string (...) at x1,y1. nul ( $00)=end of string; lines are separated by the character '|' ($7c, dec:124); 'l':= left justified at x1; 'z':= centered at x1; 'r':= right justified at x1; y1 is always the upper edge of the string z r output string rotated by 90 (vertically) esc z o x1 y1 text ... nul outputs a string (...) rotated by 90 at x1,y1; nul ( $00)=end; lines are separated by the character '|' ($7c, dec: 124); 'o':= top justified at y1; 'm':= vertically centered at y1; 'u':= bottom justified at y1; x1 is always the right edge of the string m u define character esc e n1 data ... n1=character no.; data=number of bytes depending on current font drawing commands graphics mode esc v n1 sets the drawing mode for the commands 'set point', 'draw straight line', 'rectangle', 'rouded rectangle' and 'fill area with pattern' n1: 1=set; 2=delete; 3=inverse; 4=replace; 5=inverse replace set point esc p x1 y1 sets a pixel at position x1, y1 draw straight line esc g x1 y1 x2 y2 draws a straight line from x1,y1 to x2,y2 continue straight line esc w x1 y1 draws a straight line from the last end point to x1, y1 rectangle commands draw rectangle esc r r x1 y1 x2 y2 draws a rectangle (frame) from x1,y1 to x2,y2 draw rounded rectangle n x1 y1 x2 y2 draws a rectangle with rounded corners from x1,y1 to x2,y2 delete area l x1 y1 x2 y2 deletes an area from x1,y1 to x2,y2 (all pixels off) invert area i x1 y1 x2 y2 inverts an area from x1,y1 to x2,y2 (inverts all pixels) fill area s x1 y1 x2 y2 fills an area from x1,y1 to x2,y2 (all pixels on) fill area with pattern m x1 y1 x2 y2 pat fills an area from x1,y1 to x2,y2 with the pattern pat (0..7) draw box o x1 y1 x2 y2 pat draws a rectangle with the fill pattern pat (0..7); (always replace) draw rounded box j x1 y1 x2 y2 pat draws a rectangle with the fill pattern mst (0..7); (always replace) bitmap image commands image from eeprom esc u e x1 y1 no loads an internal image with the number (0..255) from the eeprom to x1,y1 load image l x1 y1 data ... loads an image to x1,y1; see image structure for the data of the image send hard copy h x1 y1 x2 y2 requests an image. sends the width and height in pixels followed by the actual image data via rs232 display commands (which apply to the whole display) delete display esc d l deletes the contents of the display (all pixels off) invert dis play i inverts the contents of the display (inverts all pixels) fill display s fills the contents of the display (all pixels on) switch display off a makes the contents of the display invisible, but they remain there and further commands are possible switch display on e makes the contents of the display visible again clipboard display c displays the contents of the clipboard. the display contents are no longer visible normal display n displays the current image (normal mode). all outputs are visible again reset display r resets and re-initializes the display controller macro commands execute macro esc m n n1 calls the (normal) macro with the number n1 (max. 7 levels) execute touch macro t n1 calls the touch macro with the number n1 (max. 7 levels) execute port macro p n1 calls the port macro with the number n1 (max. 7 levels) macros autom. cyclical a n1 n2 n3 processes macros n1..n2 automatically cyclically; n3=pause in 1/10s macros autom. ping-pong j n1 n2 n3 processes macros n1..n2..n1 automatically (ping-pong); n3=pause in 1/10s all commands at a glance
9 ea kit240-7 bar graph commands define bar graph esc b r l o u no x1 y1 x2 y2 sv ev pat defines a bar graph to the left (l), right (r), top (o) or bottom (u with the number no (1..16). x1,y1,x2,y2 define the rectangle enclosing the bar graph. sv,ev are the values for 0% and 100%. pat=pattern (0..7) draw bar graph no value sets the bar graph with the number no (1..16) to the new user 'value' clipboard commands (clipboard for image areas) save display contents esc c b copies the entire contents of the display to the clipboard as an image area save image s x1 y1 x2 y2 copies the image area from x1, y1 to x2, y2 to the clipboard restore display r copies the image area on the clipboard back to the display copy area k x1 y1 copies the image area on the clipboard to position x1, y1 in the display keyboard/touch panel commands define touch key with horizontal label esc t h f1 f2 ret code form text ... nul groups touch fields f1 to f2 (diametrically opposite corner fields) together t o form a touch key with the return value ret. code (=1..255) (ret. code=0 means the touch key is inactive). form: draws touch key (=0 nothing; =1 delete; =2 with frame) text: positions a string on the touch key (centered) using the current font; lines are separated by the character '|' ($7c, dec: 124); nul character ($00) = end of string define touch key with vertical label (rotated by 90) v (p)reset touch keys p activates all touch keys in ascending order (fields with code 1..60) r deactivates all touch keys (all fields with code 0) touch key response i n1 n1=0: touch key is not inverted when touched n1=1: touch key is automatically inverted when touched s n1 n1=0: no tone sounds when (touch) key is touched n1=1: tone sounds briefly when (touch) key is touched invert touch key m n1 the touch key assigned the return code n1 is inverted manually query key manually w sends the currently depressed (touch) key at the rs-232/rs-422 interface key query on/off a n1 the keyboard query is n1=0:deactivated; n1=1:activated, keystrokes are sent automatically; n1=2:activated, keystrokes are not sent (query with esc t w) menu/pop-up commands define menu with horizontal items esc n h x1 y1 no text ... nul draws a menu from the corner x1,y1 (horizontal menu = upper left corner; vertic a menu = upper right corner) using the current font. no:= currently inverted item (e.g.: 1 = 1st item) text:= string with the menu items. the items are separated by the character '|' ($7c,dec:124), e.g. "item1|item2|item3" the background of the menu is automatically saved to the clipboard. if a menu is already defined, it is automatically canceled and removed define menu with vertical items (rotated by 90) v invert menu box i inverts the entire menu box. useful for negative display next item n inverts the next item or remains at the end previous item p inverts the previous item or remains at the beginning menu end/send s removes the menu from the display and replaces it with the clipboard contents. the current item is sent as a number (1..n) (0=no menu displayed) menu end/macro m no removes the menu from the display and replaces it with the contents of the clipboard. macro 'no' is called for item 1; macro no+1 for item 2, and so on menu end/cancel a removes the menu from the display and replaces it with the contents of the clipboard control/definition commands automatic flashing area (cursor function) esc q d x1 y1 x2 y2 defines a flashing area from x1,y1 to x2,y2; activates the flashing function z n1 sets the flashing time n1= 1..15 in 1/10s; 0=deactivates the flashing function m i inverse mode (flashing area is inverted); activates the flashing function pat clipboard mode pat=pattern (0..7) of the block cursor; activates flashing c n1 automatically flashing area as cursor for terminal operation n1=0: deactivates flashing function; n1=1: activates flashing function (inverse, 6/10s) select/deselect esc k s add activates the kit with the address n1 (n1=255: all) d add deactivates the kit with the address n1 (n1=255: all) a add assigns a new address (add) (in the power-on macro, for example) wait (pause) esc x n1 wait n1 tenths of a second before the next command is executed buzzer on/off esc j n1 n1=0:tone off; n1=1:tone on; n1=2..255:for n1 1/10s long on send bytes esc s num data ... sends num (1..255; 0=256) bytes at the rs-232/rs-422 interface; data ... = num bytes (e.g. control of an external serial printer) read i2c bus esc i r add num requests num (1..255; 0=256) bytes from the module on the i2c bus with the device address add and sends them via the rs-232/rs-422 write i2c bus esc i w add num data ... sends num (1..31) bytes on the i2c bus for the module with the device address add. data ... = num bytes port commands write output port esc y w n1 n2 n1=0: sets all 8 output ports in accordance with n2 (=8-bit binary value) n1=1..8: resets (n2=0), sets (n2=1) or inverts (n2=2) output port n1 read input port r n1 n1=0: reads in all 8 input ports as 8-bit binary value n1=1..8: reads in input port (1=high level=5v, 0=low level=0v) port scan on/off a n1 deactivates (n1=0) or activates (n1=1) automatic scanning of the input port input port inverse i n1 evaluates the input port (n1=0: normal; n1=1: inverted)
10 ea kit240-7 parameters the graphics kit can be programmed by means of various integrated commands. each command begins with esc followed by one or two command letters and then parameters. all the commands and their parameters, such as coordinates and other transfer values, are always expected as bytes. no separating characters, such spaces or commas, must be used between them. the commands require no final byte such as a carriage return (except for the string $00). a..z, l/r/o/u .................................... all commands are transferred as ascii characters. example: g= 71 (dec.) = $47 initiates the straight-line command. x1, x2, y1, y2 .................................... coordinates are transferred with 1 byte. example: x1= 10 (dec.) = $0a esc .................................................. 1 byte: 27(dec.) = $1b n1,n2,nr,aw,ew,wert,mst,ret, frm,daten ......................................... numerical values are transferred with 1 byte. example: n1=15(dec.) = $0f pattern a pattern type (mst = 0..7) can be set as a parameter with some commands. in this way, rectangular areas, bar graphs and even texts can be linked to different patterns and displayed. the following fill patterns are available: mst=0 mst=1 mst=2 mst=3 mst=4 mst=5 mst=6 mst=7 white b lack 25% gray 50% gray 75% gray 45 right 45 left 45 cross programming example the following table shows an example in which the string "test" is output left justified at coordinate 7,3. example codes to be output in ascii esc z l bel etx t e s t nul in hex $1b $5a $4c $07 $03 $54 $65 $73 $74 $00 in decimal 27 90 76 7 3 84 101 115 116 0 for turbo pascal write(aux, chr(27), 'z', 'l', chr(7), chr(3), 'test', chr(0)); for c fprintf(stdaux, "\x1bzl%c%c%s\x00", 7, 3, "test"); for q basic open "com1:9600,n,8,1,bin" for random as #1 print #1,chr$(27)+"zl"+chr$(7)+chr$(3)+"test"+chr$(0)
11 ea kit240-7 descriptions of the various graphics functions on the following pages you will find detailed descriptions of all of the functions in alphabetical order. in each case, an enlarged section of the image, 50x32 pixels in size, is shown as a hard copy example, indicating the contents of the display after the command is executed. the bytes to be transferred are shown as hex values in the examples. esc b l/r/o/u no x1 y1 x2 y2 sv ev pat define bar graph up to 16 bar graphs ( no =1..16) can be defined. these can extend to the left ( l ), right ( r ), up ( o ) or down ( u ). at its full extent, the bar graph occupies an area from x1 , y1 to x2 , y2 . it is scaled with the start value (no extension) sv (=0..254) and the end value (full extension) ev (=0..254). the bar graph is always drawn in inverse mode with the pattern ( pat ): the background is thus always retained. (note: when this command is executed, it defines the bar graph but does not display it). example: $1b $42 $4f $01 $04 $02 $09 $1e $04 $14 $01 bar graph no. 1, which extends upwards, is defined. when it is fully extended, it takes up an area from 4,2 to 9,30. the start and end values correspond to a 4..20 ma display. (the diagram shows the bar graph fully extended, as represented with $42 $01 $14.) esc b no value draw bar graph the bar graph with the number n1 (1..16) is set to the new value (sv <= value <= ev). if value > ev, the end value (ev) is displayed. the bar graph must be defined first (see above). example: $1b $42 $01 $0a bar graph no. 1 defined in the above example is set to a value of 10. esc c b save contents of display to clipboard copies the entire contents of the display to the clipboard. example: $1b $43 $42 saves the entire contents of the display to the clipboard so that the screen can subsequently be restored. the contents of the display do not change. esc c s x1 y1 x2 y2 save area to clipboard copies an area from the upper left corner ( x1,y1) to the lower right corner ( x2,y2 ) to the clipboard. example: $1b $43 $53 $00 $00 $17 $1b saves the area from 0,0 to 23,27 so that the screen can subsequently be restored. the contents of the display do not change. esc c r restore area copies the the area last saved from the clipboard back to the display. destination: the original coordinates. example: $1b $43 $52 restores the area last saved. esc c k x1 y1 copy area from clipboard copies the area last saved on the clipboard to a new position ( x1,y1 ) on the display. example: $1b $43 $4b $0a $20 copies the area last saved to the point 10,32.
12 ea kit240-7 bit no. 7 6 5 4 3 2 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 b y te 8 bit no. 7 6 5 4 3 2 1 0 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte 9 byte 10 byte 11 byte 12 byte 13 byte 14 byte 15 byte 16 user-definable characters (code) 4x6 5x6 6x8 8x8 8x1 16x 16 1 1 1 1 2 2 3 3 2 4 5 4 6 5 3 2 7 6 8 9 7 4 10 8 11 9 5 3 12 13 10 14 11 6 15 12 16 17 13 7 4 18 14 19 15 8 20 21 16 esc d l/i/s change contents of display the entire contents of the display are deleted ( l - white), inverted ( i ) or filled ( s - black). example: $1b $44 $49 inverts the entire contents of the display. esc d a/e switch display on/off switches the contents of the display off ( a - not visible) or on ( e - visible). outputs are still possible when it is switched off. example: $1b $44 $41 the contents of the display are no longer visible after this command. esc d n/c display normal/clipboard contents the normal contents ( n ) or the clipboard contents ( c ) appear on the display. concealed drawing is possible with this command. example: the current contents of the display are saved to the clipboard with esc c b , and the contents of the clipboard are then displayed with esc d c . all subsequent outputs to the display will be invisible until the command esc d n is entered, at which point the current contents will become visible again. example: $1b $44 $49 the display now shows the contents of the clipboard (only complete images are recognizable). esc e n1 data define character you can define up to 21 characters yourself (depending on the font size). these characters then have the ascii codes 1 to max. 21 and remain in an invisible screen ram 128 bytes in size until the supply voltage is switched off. in the case of a 4x6 font, up to 21 characters can be defined, whereas only 8 characters can be defined for an 8x16 font. please note that if you want to define several characters in different fonts, you must bear in mind that a character with code 1 of the 8x16 font, for example, requires the same amount of ram as the characters with the codes 1 to 3 in the 4x6 font (see the adjacent table). example 1: $1b $45 $01 $20 $70 $a8 $20 $20 $20 $20 $00 defines an arrow pointing upward for ascii no. 1 using the 6x8 character set. example 2: $1b $45 $02 $10 $10 $10 $10 $10 $10 $10 $10 $10 $10 $92 $54 $38 $10 $00 $00 defines an arrow pointing downward for ascii no. 2 using the 8x16 character set. esc f n1 n2 n3 set font sets the font with the number n1 (1=4x6 uppercase letters only; 2=6x8; 3=8x16). in addition, an enlargement factor (1..8 times) is set for the width ( n2 ) and height ( n3 ) separately. example: $1b $46 $02 $03 $04 the 6x8 with 3 times the width and 4 times the height is set with immediate effect. in the adjacent figure, the character 'e' is shown in the 6x8 font and with various enlargement factors. esc f t n1 set terminal font sets the font with the number n1 for terminal operation. the font for the terminal is always used without zoom and in replace mode. example: $1b $46 $54 $03 the 6x8 font is set as the terminal font with immediate effect.
13 ea kit240-7 esc g x1 y1 x2 y2 draw straight line a straight line is drawn from x1,y1 to x2,y2 taking into account the graphics mode set 'v' (set/delete/inverse). example: $1b $47 $03 $14 $28 $06 a straight line is drawn from 3,20 to 50,6. esc h x1 y1 x2 y2 create hard copy of display contents requests the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ). the graphics chip then immediately sends the width and height of the image section followed by the image data. see the upload image command ('u') for the structure of the image data. example: $1b $48 $00 $00 $1f $0f the upper left part of the screen (32 x 16 pixels) is sent via rs-232. esc j n1 switch tone on/off manually switches the tone off ( n1 =0), on for an undefined period ( n1 =1) or on for n1/10 seconds ( n1 =2..255). (this only applies to versions with ea kit240-7ctp and ea kit240-7ledtp touch panels.) example: $1b $4a $0a the tone sounds for 1 second after this command. esc k a add assign address assigns an address to the kit240 ( add =0..254). the best place for this command is in the power-on macro. example: $1b $4b $41 $01 the kit240 is assigned the address $01 with immediate effect. esc k s/dadd (de)select kit240 selects ( s ) or deselects ( d ) the kit240 with the address add (0..254); the address 255=$ff is a master address for all kit240 units. example: $1b $4b $44 $01 all commands for the kit240 with the address $01 are ignored with immediate effect. esc l n1 pat set text mode sets the link mode ( n1 ) and pattern ( pat) for the string output text function ( esc z ). example: $1b $4c $03 $03 sets the link mode for all subsequent text functions to gray characters (pattern 3 = 50% gray) inverted with the background. link mode n1: 1 = set: black pixels irrespective of the previous value (or) 2 = delete: white pixels irrespective of the previous value 3 = inverse: changes black pixels to white pixels and vice versa (exor) 4 = replace: deletes the background and sets black pixels 5 = inverse replace: fills the background and sets white pixels
14 ea kit240-7 esc m n/t/p n1 call macro calls the normal macro ( n ), touch macro ( t ) or port macro ( p ) with the number n1 (0..255). example: $1b $4d $4e $0f the (normal) macro with the number 15 is executed. esc m a/j n1 n2 n3 execute macros automatically calls the normal macros with the numbers n1 to n2 automatically every n3 /10 seconds. a =cyclical call (e.g. 1,2,3,4,1,2,3,4, etc.); j =ping-pong call (e.g. 1,2,3,4,3,2,1,2,3,4, etc.). automatic execution is terminated: - when a character is received from the rs-232 interface - when a touch automatically executes a touch macro - when an input change executes a port macro example: $1b $4d $41 $01 $03 $05 the macros with the numbers 1, 2 and 3 are executed automatically with a break of 1/2 second. esc n h/vx1 y1 no text... nul display menu defines and displays a menu with the current font. the background of the menu box is automatically saved on the clipboard (the previous contents of the clipboard are lost) : h =horizontal menu at x1,y1 (upper left corner) or v =vertical menu (rotated 90) at x1,y1 (upper right corner). n1 =currently inverted item; text... =string containing the items. the individual items are separated by the character '|' (=$7c). the string must be terminated with nul = $00. example 1 - horizontal menu: $1b $4e $48 $02 $02 $01 $54 $65 $73 $74 $7c $53 $74 $6f $70 $7c $45 $6e $64 $00 defines a horizontal menu containing the items "test", "stop" and "end" at position 2,2. the 1st item is inverted. example 2 - vertical menu: $1b $4e $56 $28 $01 $01 $54 $65 $73 $74 $7c $53 $74 $6f $70 $7c $45 $6e $64 $00 defines a vertical menu containing the items "test", "stop" and "end" at position 40,1. the 1st item is inverted. esc n n/p next/previous menu item inverts the next ( n ) or previous ( p ) menu item. if the last/first item is already inverted, the command is ignored. example: $1b $4e $4e the next menu item is inverted. esc n i invert menu box inverts the entire menu box. example: $1b $4e $49 esc n s terminate and send menu removes the menu from the display and replaces it with the background from the clipboard. the currently selected item is sent as a number (1..max. item) via the rs 232 interface. example: $1b $4e $53 esc n m n1 terminate menu and call macro removes the menu from the display and replaces it with the background from the clipboard. if item 1 is selected, the (normal) macro with the number n1 is called, for item 2 the macro n1 +1 etc. example: $1b $4e $4d $0a esc n a cancel menu removes the menu from the display and replaces it with the background from the clipboard. example: $1b $4e $41
15 ea kit240-7 esc o n1 n2 position cursor sets the cursor to column n1 and row n2 for terminal operation. the origin in the upper left corner is 1,1. example: $1b $4f $03 $05 sets the cursor to the 3rd column in row 5. esc p x1 y1 set dot sets a pixel at x1,y1 taking into account the graphics set mode 'esc v' (set/delete/ invert). example: $50 $11 $0d sets the pixel at 17,13. esc q c n1 cursor on/off n1 =1: switches the cursor on; it flashes at the current position on the terminal. n1 =0: switches the cursor off. example: $1b $51 $43 $01 switches the cursor off. esc q d x1 y1 x2 y2 define flashing area defines the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) as an automatically flashing area. the flashing function is started at the same time. this deactivates the terminal cursor. example: $1b $51 $44 $00 $0f $07 $10 defines the flashing area from 0,15 to 7,16. esc q z n1 set flashing time sets the flashing time to n1 (=1..15) tenths of a second. when n1 = 0, the flashing function is deactivated and the original screen restored. example: $1b $51 $5a $03 sets the flashing time to 0.3 seconds. esc q m i inverse flashing mode automatically inverts the defined flashing area cyclically with the set flashing time. the flashing function is started at the same time. example: $1b $51 $49 sets the inverse flashing mode. esc q m pat block cursor flashing mode saves the defined flashing area on the clipboard (the previous contents of the clipboard are lost) . there is a cyclical changeover between the original area and the pattern pat (=0..7) on the basis of the set flashing time. in this way, for example, a block cursor can be simulated (pat=1 black) or a flashing word displayed (pat=0 white). the flashing function is started at the same time. example: $1b $51 $43 $00 the block cursor flashing mode is set with the pattern white. as a result, the set area flashes on a white background. esc r r x1 y1 x2 y2 draw rectangle draws a rectangle from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) taking into account the set graphics mode 'v' (set/delete/inverse). the contents of the rectangle are not changed. see 'esc r o' (draw box). example: $1b $52 $52 $15 $08 $30 $25 draws a rectangle from 21,8 to 48,37.
16 ea kit240-7 esc r n x1 y1 x2 y2 draw rounded rectangle draws a rectangle with rounded corners from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) taking into account the set graphics mode 'v' (set/delete/inverse). the contents of the rounded rectangle are not changed. see 'esc r j' (draw rounded box). example: $1b $52 $4e $06 $02 $26 $13 draws a rounded rectangle from 6,2 to 38,19. esc r l x1 y1 x2 y2 delete area deletes the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ). example: $1b $44 $53 $1b $52 $4c $06 $04 $28 $19 the display is filled with esc d s and then deleted from 6,4 to 40,25. esc r i x1 y1 x2 y2 invert area inverts the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) (black pixels turn white and vice versa). example: $1b $52 $49 $00 $00 $17 $1b inverts the area from 0,0 to 23,27 with the display contents from the "set font" example. esc r s x1 y1 x2 y2 fill area fills the area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) (sets the pixels to black). example: $1b $52 $53 $09 $05 $16 $16 sets the area from 9,5 to 22,22 black. esc r m x1 y1 x2 y2 pat fill area with pattern fills a rectangular area from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat taking into account the set graphics mode "esc v' (set/ delete/invert/replace/inverse replace). example: $1b $52 $4d $05 $01 $2d $1a $07 fills the area with the pattern 7=45cross from 5,1 to 45,26. esc r o x1 y1 x2 y2 pat draw box draws a rectangle from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat . the background of the box is deleted. see 'esc r r' (draw rectangle). example: $1b $52 $4f $02 $05 $12 $1e $02 draws a box from 2,5 to 18,30 with the pattern 2=25%gray. esc r j x1 y1 x2 y2 pat draw rounded box draws a rectangle with rounded corners from the upper left corner ( x1,y1 ) to the lower right corner ( x2,y2 ) with the pattern pat . the background is deleted. see 'esc r n' (draw rounded rectangle). example: $1b $52 $4a $07 $03 $23 $16 $03 draws a rounded box from 7,3 to 35,22 with the pattern 3=50%gray. esc s num data... send bytes via rs-232 outputs the next num (1..255, 0=256) bytes at the serial interface. example: $1b $53 $04 $54 $45 $53 $54 transmits the word 'test' via the rs-232c interface.
17 ea kit240-7 esc t h/vf1 f2 ret frm text... nul define touch key defines a touch key and labels it with the current font. h =horizontal or v =vertical labeling (rotated 90). several touch fields can be grouped together to form a single touch key ( f1 =upper left touch field; f2 =lower right touch field of the new touch key). this touch key is assigned a return code with ret (1..255). when the touch key is touched, the touch macro with the number ret is called or, if no touch macro is defined, this return code is sent via the rs232. you use frm to define the format of the touch key (frm=0: don't draw anything; frm=1: delete touch key; frm=2: delete touch key and draw with frame). text... =string with the label (which is always centered on the touch key). the label can also have more than one line; in this case, the lines are separated by the character '|' (=$7c). the string must be concluded with nul = $00. see example on page 3. example 1: horizontal touch key: $1b $54 $48 $01 $01 $41 $02 $54 $45 $53 $54 $00 defines a horizontal touch key (field no. 1 only) with the return code 65='a'. the touch key is drawn with a frame and labeled with the word 'test'. example 2: vertical touch key: $1b $54 $56 $02 $02 $42 $02 $54 $45 $53 $54 $00 defines a vertical touch key (touch field no. 2 only) with the return code 66='b'. the touch key is drawn with a frame and labeled with the word 'test'. esc t p/r preset/reset touch fields assigns p (=ascending return code: 1..60) or r (=reset all touch fields) to all 60 touch fields. in the latter case all touch fields receive the return code 0 (i.e. they are deactivated). example: $1b $54 $52 all touch fields are deactivated by this command and no longer recognized. esc t i/s n1 touch key response these commands set the automatic response of the touch panel to touching. both responses can be activated simultaneously. i =automatic inversion when the touch key is touched ( n1 =0: off or n1 =1: on) s =automatic signal tone when the touch key is touched ( n1 =0: off or n1 =1: on) example: $1b $54 $49 $01 after this command the tone sounds when a touch key is touched. esc t m ret invert touch key manually this command manually inverts the touch key with the return code ret . example: $1b $54 $4d $41 inverts the touch key from the above example with the return code 65='a'. esc t a n1 (touch) key query on/off this command sets the (touch) key query: n1 =0: switches the key query off - no touch macros or manual key query possible. n1 =1: activates the key query - keystrokes trigger touch macros or are sent via rs232. n1 =2: activates the key query - keystrokes trigger touch macros; must be queried manually. example: $1b $54 $41 $02 activates the (touch) key query. the keystrokes are not sent automatically via rs232; they have to be requested manually by means of the command esc t w . esc t w query touch key manually sends the return code of the currently depressed touch key at the rs232. example: $1b $54 $57
18 ea kit240-7 esc u e x1 y1 n1 load image from eeprom displays the image saved in the eeprom with the number n1 (0..255) at position x1,y1 . example: $1b $55 $45 $02 $03 $0e - displays image number 14 from the eeprom at position 2,3. esc u l x1 y1 data... upload image displays an image at position x1,y1 . data..: - 1 byte for the image width in pixels - 1 byte for the image height in pixels - image data: number = ((width+7) / 8) * height bytes. 1 byte stands for 8 horizontal pixels on the screen; 0=white, 1=black; msb: left, lsb: right; the image is stored from the top down. the bmp2blh.exe program on the ea disk240 floppy disk available as an accessory creates the image data, including the width and height, from monochrome windows bitmap graphics (*.bmp). example: $1b $55 $4c $09 $04 $0c $0c $0f $00 $3f $c0 $7f $e0 $76 $e0 $ff $f0 $ff $f0 $f1 $f0 $ff $f0 $6f $60 $70 $e0 $3f $c0 $0f $00 loads the adjacent image at position 9,4. esc v n1 set graphics mode sets the link mode n1 for the following graphics functions: esc p (set point), esc g (draw straight line), esc w (continue straight line), esc r r (draw rectangle), esc r n (draw rounded rectangle), esc r m (fill area with pattern). example: $1b $56 $03 sets the link mode to inverse. by way of example, a rectangle is drawn alongside with the link modes set, delete and inverse on an existing background. link mode n1: 1 = set: black pixels irrespective of the previous value (or) 2 = delete: white pixels irrespective of the previous value 3 = inverse: changes black pixels to white pixels and vice versa (exor) 4 = replace: deletes the background and sets black pixels; only area with fill pattern 'pat' 5 = inverse replace: fills the background and sets white pixels; only area with fill pattern 'pat' esc w x1 y1 continue straight line continues a straight line from the last end or point drawn to x1,y1 taking into account the set graphics mode 'v'. example: $1b $47 $00 $00 $10 $04 $1b $57 $16 $1b $1b $57 $30 $0f a straight line is drawn from 0,0 to 16,4.it is then continued to 22,27 and to 48,15. esc x n1 wait/pause this command suspends the kit240 for n1 /10 seconds. example: $1b $58 $0a - after this command kit240 waits for 1 second before next command is processed. esc y r n1 read input port reads in the input port ( n1 =1..8 = in1..in8). when n1 =0, all the inputs are read in as 8-bit binary values (msb:in8...in1:lsb); see application on page 5. important: the optocouplers invert the input logic (input open: 1). the command "esc y i 1" puts this right (input open: 0). example: $1b $59 $52 $03 - reads in port in3. the result is sent via rs232. bit no. bit no. 7 6 5 4 3 2 1 0 7 6 5 4 byte 1 byte 2 byte 3 byte 4 byte 5 byte 6 byte 7 byte 8 byte 9 byte 10 byte 11 byte 12 byte 13 byte 14 byte 15 byte 16 byte 17 byte 18 byte 19 byte 20 byte 21 byte 22 byte 23 byte 24
19 ea kit240-7 esc y w n1 n2 write output port changes the output port ( n1 =1..8 = out1..out8) to the value n2 (0=low level; 1=high level; 2=invert port). when n1 =0, all the outputs are output as a binary value n2 (msb:out8...out1:lsb); see application on page 5. example: $1b $59 $57 $02 $01 switches the output port out2 to high level. esc y a n1 automatic port query on/off each change at the input port (8-bit binary value in8..in1) can call a port macro (0..255). this command activates ( n1 =1) or deactivates ( n1 =0) the automatic port query. after power-on, the current port status is read and the associated port macro executed immediately. example: $1b $59 $41 $01 activates the automatic port query and executes the associated port macro. esc y i n1 invert input port this command allows the logic of the input port to be inverted ( n1 =0 for normal or n1 =1 for inverse). this is useful with the optocoupler inputs, for example. example: $1b $59 $49 $01 inverts the input port logic. esc y l n1 (from rev. b) backlight on/off n1 =0 switches backlight off and n1 =1 will switch on backlight permantly; n1 =2 switches b./l. from on->off and from off->on. n1 =3..255 switches b./l. on for a periode of n1 /10 seconds. is a resistor (e.g. 47 ohms) is inserted at r off position b./l. will never switch off complete but with reduced brightness (2 steps of brightness). example: $1b $59 $4c $64 will switch on backlight for a periode of 10 sec. esc z l/z/r x1 y1 text... nul horizontal string writes the string text... left justified ( l ), centered ( z ) or right justified ( r ) at position x1 taking into account the set text mode ( esc l ). multi-line text can also be output, with the lines separated by the character '|' (=$7c). the string must be concluded with nul = $00. position y1 is the upper edge of the 1st line. example 1: writes the text "left|ok" left justified at 0,0. $1b $5a $4c $00 $00 $4c $65 $66 $74 $7c $4f $6b $00 example 2: writes the text "center|ok" centered at 25,0. $1b $5a $5a $19 $00 $43 $65 $6e $74 $65 $72 $7c $4f $6b $00 example 3: writes the text "right|ok" right justified at 49,0. $1b $5a $52 $31 $00 $52 $69 $67 $68 $74 $7c $4f $6b $00 esc z o/m/u x1 y1 text... nul ve rtical string writes the string text... rotated by 90 degrees top justified ( o ), vertically centered ( m ) or bottom justified ( u ) at position y1 taking into account the text mode ( esc l ). multi- line text can also be output, with the lines separated by the character '|' (=$7c). the string must be concluded with nul = $00. position x1 is the right edge of the 1st line. example 1: writes the text "top|ok" top justified at 49,0. $1b $5a $4f $31 $00 $54 $6f $70 $7c $4f $6b $00 example 2: writes the text "mid|ok" vertically centered at 49,15. $1b $5a $4d $31 $0f $4d $69 $64 $7c $4f $6b $00 example 3: writes the text "bot|ok" bottom justified at 49,31. $1b $5a $55 $31 $1f $42 $6f $74 $7c $4f $6b $00
ea kit240-7 zeppelinstrasse 19 d- 82 205 gilching phone +49-8105-778090 fax +49-8105-778099 http://www.lcd-module.de dimensions without touch panel dimensions with touch panel all dimensions in mm ea 0fp240-7 front panel panel cutout all dimensions in mm all dimensions in mm
mouser electronics authorized distributor click to view pricing, inventory, delivery & lifecycle information: electronic assembly: ? ea kit240-7lwtk


▲Up To Search▲   

 
Price & Availability of EAOPT-OPTO8I8O

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X